﻿namespace WPFDBBrowser.Interfaces.DBTreeView
{
    using System.ComponentModel;

    public interface IDBItem : IName
    {

        bool IsSelected
        {
            get;
            set;
        }

        bool IsExpanded
        {
            get;
            set;
        }

        string ImageSource
        {
            get;
        }

        IDBItem Parent
        {
            get;
        }

        TNode GetParentNode<TNode>() where TNode : DBTreeBase;
    }
}
